package com.baizhi.service;

import com.baizhi.dto.VideoFeedDTO;
import com.baizhi.entity.Feed;
import com.baizhi.po.FeedPO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 动态(Feed)表服务接口
 *
 * @author makejava
 * @since 2021-09-27 09:35:41
 */
public interface FeedService extends IService<Feed> {
    List<FeedPO> queryAllFeed(Integer page, Integer per_page);

    void insert(List<MultipartFile> file, String content, Integer uid);

    void insertVideo(VideoFeedDTO videoFeedDTO);
}

